import '@/styles/globals.css';
import type { AppProps } from 'next/app';
import { Inter } from 'next/font/google';
import { config } from '@fortawesome/fontawesome-svg-core';
import '@fortawesome/fontawesome-svg-core/styles.css';

// 防止Font Awesome在SSR时闪烁
config.autoAddCss = false;

const inter = Inter({ subsets: ['latin'] });

export default function App({ Component, pageProps }: AppProps) {
  return (
    <main className={`${inter.className} bg-gray-50 text-gray-800 font-sans`}>
      <Component {...pageProps} />
    </main>
  );
} 